package com.house.util;

public class PageRequest {
    /**
     * 当前页码
     */
    private int page = 1;
    /**
     * 每页数量
     */
    private int limit = 15;

    public PageRequest(int page, int limit) {
        this.page = page;
        this.limit = limit;
    }

    public int getPageNum() {
        return page;
    }
    public void setPageNum(int page) {
        this.page = page;
    }
    public int getPageSize() {
        return limit;
    }
    public void setPageSize(int limit) {
        this.limit = limit;
    }
}
